package parallels.servertech.server.nio.event;

import java.io.IOException;

// TODO add type parameter S extends Enum<S> for channel state enumeration
public interface ChannelEventHandler {
	public void channelReadable(ChannelEvent channel) throws IOException;

	public void inputBufferFilled(ChannelEvent event) throws IOException;

	public void outputBufferDrained(ChannelEvent event) throws IOException;

	public ChannelContext getChannelContext();
}
